$(function(){
//	var headImage = localStorage.getItem("head_image");
	var ary = new Array();
	var uid;
	$("#message_w").click(function(){
		location.href = "send_private_massage.html";
	});
	
//	$("#imagehead2").attr("src", headImage);
	var identity = localStorage.getItem("person_id");
	var urlPath = "http://yx.fxtourong.com/V1/Member/getMemberInfoByIdentity?identity=" + identity;
	$.ajax({
			type: "GET",
			url: urlPath,
			data: {
				
			},
			dataType: "json",
			success: function(data) {
				console.log(data);
				var code = data.code;
				console.log(code);
				if(code == "1") {
					uid = data.data.uid;
					localStorage.setItem("send_private_massage_id", uid);
					$("#imagehead2").attr("src", data.data.avatar);
					$("#myName").val(data.data.nickname);
				} else {
					
				}
			}
		});
});
